<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en" th:replace="header/header :: header(${authuser.nickName} + '-实体商户社群服务平台','/assets/layui/css/layui.css,/assets/module/admin.css','/assets/libs/index/app.js')">
</head>
<body>

<!-- 顶部导航-->
<div th:replace="common/index/indexbar :: indexbar"></div>

<!--头条主体-->
<div class="content">
    <div class="contDiary wrapper">
        <!--个人信息-->
        <div class="information">
            <!-- 用户基本信息 -->            
            <div th:replace="common/user/userhead:: userhead"></div>
            <div class="information-con" id="tabs-vertical">
                <div class="information-conT">
                    <ul>
                        <li class="information-conTLi">
                            <a data-index="0" class="information-conTLiA" th:href="'/t/' + ${authuser.userId}">
                                <p class="information-conTLiAp1" th:text="${releaseNum}">0</p>
                                <p class="information-conTLiAp2">发布</p>
                            </a>
                        </li>
                        <li class="information-conTLi">
                            <a data-index="1" class="information-conTLiA" th:href="'/t/vote/' + ${authuser.userId}">
                                <p class="information-conTLiAp1" id="userVoteNumber" th:text="${giveNum}">0</p>
                                <p class="information-conTLiAp2">点赞</p>
                            </a>
                        </li>
                        <li class="information-conTLi">
                            <a data-index="1" class="information-conTLiA" th:href="'/t/collect/'+ ${authuser.userId}">
                                <p class="information-conTLiAp1" id="userCollectNumber" th:text="${collectNum}">0</p>
                                <p class="information-conTLiAp2">收藏</p>
                            </a>
                        </li>
                        <li class="information-conTLi">
                            <a data-index="2" class="information-conTLiA information-conTLiActive" th:href="'/t/follow/'+ ${authuser.userId}">
                                <p class="information-conTLiAp1" id="userFollow" th:text="${followNum}">0</p>
                                <p class="information-conTLiAp2">关注</p>
                            </a>
                        </li>
                        <li class="information-conTLi">
                            <a data-index="3" class="information-conTLiA" th:href="'/t/fans/'+ ${authuser.userId}">
                                <p class="information-conTLiAp1" th:text="${fansNum}">0</p>
                                <p class="information-conTLiAp2">粉丝</p>
                            </a>
                        </li>
                    </ul>
                </div>

                <!-- tab切换内容 -->
                <div class="information-conB">
					<div class="information-conBv information-conActive">
						<div class="information-diaryType tab-content-active">
							<div class="information-follow">
								<ul id="reslistGrid"></ul>
							</div>
						</div>
					</div>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 回到顶部 -->
<div th:replace="common/channel/backTop :: backTop"></div>

<!--页脚-->
<div th:replace="common/footer :: footer"></div>

<script type="text/javascript" src="/assets/libs/follow/follow.js"></script>

<script type="text/html" id="lires">
<li class="information-followLi">
	<div class="information-followLf">
		<div class="information-followImg">
			<a class="information-followImgA" target="_blank" href="/t/{{d.userToFollowId}}"> 
				<img src="{{d.avatar}}" alt="" />
			</a>
		</div>
		<div class="information-followInfo">
			<div class="information-followInD1">
				<a class="information-followInfoA" target="_blank" href="/t/{{d.userToFollowId}}">{{d.nickName}}</a>
				{{# if(d.label != null && d.label != ''){ }}
					<span class="information-followInfoSp">{{d.label}}</span>
				{{#  } }}
			</div>
			<div class="information-followInD2">
				<ul>
					<li class="information-followInD2-li">
						<span class="inform-diaryTypeLi-lSp">关注：{{d.followNum}}</span>
					</li>
					<li class="information-followInD2-li">
						<span class="inform-diaryTypeLi-lSp">粉丝： {{d.fansNum}}</span>
					</li>
				</ul>
			</div>
			<div class="information-followInD3">{{d.releaseNum}}发布 ·{{d.giveNum}}点赞</div>
		</div>
	</div>
	{{# if(d.foll != null){ }}
		<div class="information-followFr">
			<a class="information-followFrA information-switch information-noSwitch" id="intext" lay-event="{{d.foll ? 'unfw' : 'fans'}}" href="javascript:;">{{d.foll ? '✓已关注' : '+关注'}}</a>
		</div>
	{{# } }}
</li>
</script>

</body>
</html>